package com.lagou.server;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class BaseContext {
    /**
     * 请求url 用来锁定servlet
     */
    private List<ContextWrapper> wrappersList=new ArrayList<>();


    /**
     * context name 项目名 也就是上下文名
     */
    String baseName;

    public BaseContext(List<ContextWrapper> wrappersList, String baseName) {
        this.wrappersList = wrappersList;
        this.baseName = baseName;
    }

    public BaseContext(String baseName) {
        this.baseName = baseName;
    }
}
